import {IUserInformationInterface} from "./utils/UserInformationInterface";
import {ref} from "vue";
import {createUserInformation} from "./utils/createUserInformation";

export function useBasicContent() {
    const user = ref<IUserInformationInterface>()

    function getUserInformation(account: string) {
        //TODO 请求后台用户信息
        console.log(account)
    }

    user.value = createUserInformation()

    return {
        user, getUserInformation
    }
}